// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// 长input-textarea样式
.el-textarea{
  //.el-textarea__inner {
  //  padding: 5px 54px 5px 15px;
  //}
  .el-input__count {
    height: 22px;
    line-height: 22px;
  }
}

.el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap>.el-form-item__label:before, .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before {
  font-size: 12px;
}

// 表格
.el-table {
  color: #222;
  thead {
    color: #222;
    th {
      font-weight: normal;
      background-color: #f5f5f5;
    }
  }
}
.el-table--enable-row-hover .el-table__body tr:hover>td {
  background-color: rgba(0, 110, 255, 0.1);
}

.el-tooltip__popper{
  max-width: 540px;
}

.table-button{
  padding: 4px;
}

.el-select-dropdown{
  .el-select-group__wrap{
    .el-select-group__title {
      padding: 2px 10px;
      font-size: 14px;
      line-height: 22px;
      font-weight: 600;
    }
    &:not(:last-of-type){
      padding-bottom: 0;
      &::after{
        display: none;
      }
    }
  }
  .el-select-group{
    .el-select-dropdown__item{
      height: 30px;
      line-height: 30px;
    }
  }
}

.el-empty{
  width: 100%;
  height: 100%;
}
